package com.simon;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.simon.system.dao.PermissonMapper;
import com.simon.system.model.Permisson;
import com.simon.system.service.PermissonService;
import com.simon.system.service.impl.PermissonServiceImpl;

public class PermissonFind {
	
	
	
	public static void main(String[] args) {
		

		PermissonService se = new PermissonServiceImpl();
		
		List<Permisson> permissons = se.findByUserId(1);
		
		for (Permisson permisson : permissons) {
			System.out.println(permisson.getName());
		}
	}

}
